package org.lucky_common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_url")
public class ShareUrl extends Model<ShareUrl> {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField("shareUrl")
    private String shareUrl;
    @TableField("status")
    private boolean status;
    @TableField("random")
    private boolean random;
}
